/**
 * 下班休息的状态
 * @author liaosh
 * @date 2022-10-18 22:53
 */
public class RestState implements State {

    @Override
    public void writeProgram(Work work) {
        System.out.println("当前时间：" + work.getCurrentHour()
                + "点，工作完成，下班回家了，舒服");
    }
}
